﻿// See https://aka.ms/new-console-template for more information
using CSharp.Study_DelegateEvent;
using CSharp.Study_DelegateEvent.EventDemo;
using CSharp.Study_DelegateEvent.Test;

Console.WriteLine("Hello, World!");

//Logger.WriteMessage += LoggingMethods.LogToConsole;
//Logger.WriteMessage += LoggingMethods.LogToConsole;
//Logger.LogMessage("msg");

int i = 2;



//Publisher publisher = new Publisher();
//Subscriber subscriber = new Subscriber("custom1", publisher);
//Subscriber subscriber2 = new Subscriber("custom2", publisher);

//publisher.DoSomething("666");
Console.ReadKey();